<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    .box {
      display: inline-block;
      height: 100px;
      width: 200px;
      border: 1px solid black;
    }

    .linear1 {
      background-image: repeating-linear-gradient(to right, red 90%, 95%, blue 105%);
    }

    .linear2 {
      background-image: repeating-linear-gradient(to right, red 2em, 2.1em, blue 3em);
    }

    .linear3 {
      background-image: repeating-linear-gradient(to right, red, 55px, blue 60px);
    }

    .radial1 {
      background-image: repeating-radial-gradient(at left, red 10%, 25%, blue 50%);
    }

    .radial2 {
      background-image: repeating-radial-gradient(at top, red 2em, 2.4em, blue 6em);
    }

    .radial3 {
      background-image: repeating-radial-gradient(circle at left, red, 10px, blue 60px);
    }

  </style>
</head>
<body>

  <div class="linear1 box"></div>
  <div class="linear2 box"></div>
  <div class="linear3 box"></div>
  <div class="radial1 box"></div>
  <div class="radial2 box"></div>
  <div class="radial3 box"></div>

</body>
</html>
